<form id="info-form" method="post">
    <table>
        <input type="hidden" name="id" value="@if(!empty($info)) {{$info['id']}} @endif" />
        <tr>
            <td width="60" align="right">角色名称:</td>
            <td><input type="text" name="name" class="wu-text" value="@if(!empty($info)){{$info['name']}}@endif" /></td>
        </tr>
        <tr>
            <td align="right">描述:</td>
            <td><input type="text" name="description" class="wu-text" value="@if(!empty($info)){{$info['description']}}@endif" /></td>
        </tr>
        <tr>
            <td align="right">描述:</td>
            <td><input type="text" name="description" class="wu-text" value="@if(!empty($info)){{$info['description']}}@endif" /></td>
        </tr>
        <tr>
            <td align="right">是否生效:</td>
            <td>生效：<input type="radio" name="is_active" value="1" @if(!empty($info) && $info['is_active']) checked @endif />无效：<input type="radio" name="is_active" value="0" @if(!empty($info) && $info['is_active']) checked @endif /></td>
        </tr>
    </table>
</form>

